namespace DesignPattern.Behavioral.ChainOfResponsibility
{
    public class ChainOfResponsibilityPattern
    {
        public static void Test()
        {
            var logger = ChainOfLogger.Initialize();

            logger.LogMessage(AbstractLogger.INFO, "This is an information.");
            logger.LogMessage(AbstractLogger.DEBUG, "This is a debug level information.");
            logger.LogMessage(AbstractLogger.ERROR, "This is an error level information");
        }
    }
}